package com.tedu.ds.equipment.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class EquipmentVO {

    @ApiModelProperty(value = "设备表id", example = "1")
    private Long id;

    @ApiModelProperty(value = "设备名称", example = "投影仪", required = true)
    private String name;

    @ApiModelProperty(value = "设备编号", example = "1234567890", required = true)
    private String code;

    @ApiModelProperty(value = "设备状态", example = "1")
    private Integer status;

    @ApiModelProperty(value = "设备入库时间", example = "2023-10-24T09:00:00")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date entryTime;

    @ApiModelProperty(value = "设备报废时间", example = "2025-10-24T09:00:00")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date scrapTime;

    @ApiModelProperty(value = "设备更新时间", example = "2023-10-24T20:00:00")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;

    @ApiModelProperty(value = "设备类别id", example = "1")
    private Integer eqptTypeId;

    @ApiModelProperty(value = "设备购入价格", example = "1500.00")
    private Double price;

    @ApiModelProperty(value = "设备厂商", example = "Dell Inc.")
    private String manufacturer;

    @ApiModelProperty(value = "其它备注信息", example = "购买于2023年10月，保修期2年")
    private String remark;
}